﻿using System.Windows.Controls;
using MTBrainStorm.ViewModels;

namespace MTBrainStorm.Views
{
    /// <summary>
    /// Interaction logic for VirtualKeyboard.xaml
    /// </summary>
    public partial class VirtualKeyboard : UserControl
    {
        public VirtualKeyboard()
        {
            InitializeComponent();
            Loaded += VirtualKeyboard_Loaded;
        }

        void VirtualKeyboard_Loaded(object sender, System.Windows.RoutedEventArgs e)
        {
            if (DataContext == null)
                DataContext = new VirtualKeyboardViewModel();
        }
    }
}
